#ifndef SPI_DEV_CTL_H_
#define SPI_DEV_CTL_H_

#include <stdint.h>
#include <stdbool.h>
#include "usr_typedef.h"


int afe1_spi_init(sys_cfg_info *sys, spi_cfg_info *spi_dev);
int spi_transfer(spi_cfg_info *spi_dev, const char tx[], char rx[], uint32_t len);



#endif
